﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WOITMDetailList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.WModel.WOITMDetailList" %>

<form id="pagerForm" method="post" action="WModel/WOITMDetailList.aspx">
<input type="hidden" name="ItemCode" value="<%=ItemCode %>" />
<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="20" />
</form>
<form id="form1" runat="server" method="post" action="WModel/WOITMDetailList.aspx" onsubmit="return dialogSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    物料： <input name="ItemCode" type="text"  class="autocomplete" value="<%=ItemCode %>" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getoitmlist&showtype=101" swidth="300" />
                </td>
                <td>
                     <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive"><div class="buttonContent"><button type="submit">筛选</button></div></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
<div class="pageContent">
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="1250" layouth="90" targetType="dialog">
        <thead>
            <tr  >                
                <th width="100" class="asc">
                    物料号
                </th>
                <th width="120">
                    物料名称
                </th>                
                <th width="100">
                    相关公司或仓库
                </th> 
                <th width="70" orderField="InOrOut" class="asc">
                    出入库
                </th> 
                <th width="80" orderField="OperateType" class="asc">
                    类型
                </th>       
                <th width="70">
                    数量
                </th>
                 <th width="70">
                    当时库存
                </th> 
                 <th width="70" orderField="OperateUser" class="asc">
                    操作人员
                </th>
                <th width="100" orderField="OperateDate" class="asc"">
                    日期
                </th>
                <th width="80" orderField="OperateDocNum" class="asc">
                    相关单号
                </th>
                 <th width="350">
                    备注
                </th>
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("DID") %>">
				<td><%# Eval("ItemCode")%></td>
				<td><%# Eval("ItemName")%></td>
				<td><%# Eval("CardName")%></td>
                <td><%# Eval("InOrOut")%></td>
                <td><%# Eval("OperateType")%></td>
                <td><%# Eval("Quantity")%></td>
                <td><%# Eval("CurrOnHand")%></td>
                <td><%# Eval("OperateUser")%></td>
                <td><%# Eval("OperateDate")%></td>
                <td><%# Eval("OperateDocNum")%></td>
                <td><%# Eval("OperateRemark")%></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
     <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="dialogPageBreak({numPerPage:this.value})">
               <%=SetnumPerPage() %>
            </select>
            <span>条，共<%=TotalCount%>条</span>
        </div>
        <div class="pagination" targettype="dialog" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>"
            pagenumshown="10" currentpage="<%=pageNum %>">
        </div>
    </div>
</div>
</form>
